package org.example.src;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 学院实习管理系统主启动类
 *
 * @SpringBootApplication: 启用Spring Boot自动配置
 * @EntityScan: 指定实体类扫描路径
 * @EnableJpaRepositories: 指定Repository接口扫描路径
 * @EnableScheduling: 启用定时任务支持
 */
@SpringBootApplication
@EntityScan(basePackages = "org.example.src.entity")
@EnableJpaRepositories(basePackages = "org.example.src.repository")
@EnableScheduling
public class CollegeInternshipManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(CollegeInternshipManagementApplication.class, args);
    }
}
